#!/bin/sh

PATH=/bin:/usr/bin

df -k -F ufs | tail +2 | while read disk zz zz zz cap mount
do
if test `echo $cap | sed -e "s/%/ /g"` -gt 97
then
echo "$mount filesystem almost full"  
fi
done
